package fr.maistre.test_spring;

public class Juggler extends Man implements Performer {

	private int beanBags;

	public Juggler(String name) {
		super(name);
	}

	public void perform() throws PerformanceException {
		System.out.println("Me " + super.getName() + ",I m juggling with "
				+ beanBags + " beanbags.");
	}

	public void setBeanBags(int beanBags) {
		this.beanBags = beanBags;
	}
}
